package com.tencreat.domain.pt.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("pc管理端奖金池")
public class ResBonusPoolPCVO {
    private Long id;

    @ApiModelProperty(value = "期数")
    private Integer nper;

    @ApiModelProperty(value = "奖金")
    private BigDecimal bonus;

    @ApiModelProperty(value = "人数")
    private Integer number;

    @ApiModelProperty(value = "周期")
    private String cycle;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开奖时间")
    private LocalDateTime lotteryTime;

    @ApiModelProperty(value = "发放状态")
    private String status;

    @ApiModelProperty("中奖用户信息")
    private List<ResUserBonusPoolPCVO> userBonusPoolList;
}
